package cn.starrysky108.simpleerp.system.entity;

import cn.starrysky108.simpleerp.core.base.BaseEntity;
import cn.starrysky108.simpleerp.core.enums.SystemTemplateTypeEnum;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 模板表
 * </p>
 *
 * @author Carl Lee
 * @since 2021-08-14
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("system_template")
@ApiModel(value = "SystemTemplate对象", description = "模板表")
public class SystemTemplate extends BaseEntity {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "模板名称")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "模板值")
    @TableField("value")
    private String value;

    @ApiModelProperty(value = "分类id")
    @TableField("category_id")
    private Long categoryId;

    @ApiModelProperty(value = "关键词")
    @TableField("keywords")
    private String keywords;

    @ApiModelProperty(value = "是否是多级map,默认false")
    @TableField("is_multilevel")
    private Boolean isMultilevel;

    @ApiModelProperty(value = "模板类型")
    @TableField("type")
    private SystemTemplateTypeEnum type;



}
